﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<p>
    请输入用户名和密码. 如果您还没有账号请<%= Html.ActionLink("注册", "Register") %>.
</p>
<% using (Html.BeginForm("Login", "Account"))
   { %>
<label for="username">
    Username:</label>
<%= Html.TextBox("username") %>
<%= Html.ValidationMessage("username") %>
<label for="password">
    Password:</label>
<%= Html.Password("password") %>
<%= Html.ValidationMessage("password") %>
<%= Html.CheckBox("rememberMe") %>
<label for="rememberMe">
    记住我?</label>
<input type="submit" value="登录" />
<% } %>
